/* 专业工程软件风格 - 采空区地质封存选址打分系统 */
body {
    font-family: 'Microsoft YaHei', 'Segoe UI', Arial, sans-serif;
    background-color: #f0f2f5;
    margin: 0;
    padding: 0;
    color: #333;
}

/* 顶部导航栏 */
.navbar {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    padding: 12px 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    border-bottom: 1px solid #1a2530;
}

.nav-menu {
    display: flex;
    gap: 25px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.nav-menu li {
    padding: 8px 16px;
    border: 1px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ecf0f1;
    font-weight: 500;
}

.nav-menu li:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #3498db;
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.nav-menu li:active {
    transform: translateY(0);
    background-color: rgba(255, 255, 255, 0.2);
}

/* 当前激活的导航项 */
.nav-menu li.active {
    background-color: rgba(52, 152, 219, 0.3);
    border-color: #3498db;
    color: #fff;
}

/* 主容器 */
.container {
    max-width: 1200px;
    margin: 20px auto;
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
    border: 1px solid #dce1e5;
}

/* 查询区域 */
.query-section {
    padding: 20px 30px;
    border-bottom: 1px solid #e8e8e8;
    background: #f8f9fa;
}

.query-controls {
    display: flex;
    gap: 15px;
    align-items: center;
}

.query-controls select,
.query-controls input {
    padding: 8px 12px;
    border: 1px solid #dce1e5;
    border-radius: 4px;
    font-size: 14px;
    min-width: 200px;
}

.query-controls select:focus,
.query-controls input:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* 数据展示区域 */
.data-section {
    padding: 25px 30px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

/* 参数表格 */
.parameters-table {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    overflow: hidden;
}

.table-header {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    padding: 15px 20px;
    font-weight: 600;
    font-size: 16px;
}

.table-content {
    padding: 0;
}

.parameter-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding: 12px 20px;
    border-bottom: 1px solid #f0f0f0;
    align-items: center;
}

.parameter-row:nth-child(even) {
    background-color: #fafafa;
}

.parameter-row:hover {
    background-color: #f5f7fa;
}

.parameter-name {
    font-weight: 500;
    color: #555;
}

.parameter-value {
    color: #2c3e50;
    font-weight: 600;
}

/* 详情面板 */
.detail-panel {
    background: #fff;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 20px;
}

.detail-header {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #3498db;
}

.detail-item {
    margin-bottom: 15px;
}

.detail-item label {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 5px;
    font-size: 14px;
}

.detail-item input,
.detail-item select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dce1e5;
    border-radius: 4px;
    font-size: 14px;
}

.detail-item input:focus,
.detail-item select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* 分析结论区域 */
.conclusion-section {
    padding: 25px 30px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    border-top: 1px solid #e8e8e8;
}

.conclusion-header {
    color: #2c3e50;
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 20px;
}

.conclusion-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.conclusion-box {
    background: white;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.conclusion-title {
    color: #3498db;
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 15px;
}

.conclusion-text {
    color: #2c3e50;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
}

/* 按钮样式 */
.btn {
    padding: 8px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #2980b9 0%, #2471a3 100%);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(52, 152, 219, 0.3);
}

.btn-secondary {
    background: #95a5a6;
    color: white;
}

.btn-secondary:hover {
    background: #7f8c8d;
}

/* 进度指示器 */
.progress-container {
    margin: 20px 0;
    padding: 15px;
    background: #f8f9fa;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

.progress-bar {
    width: 100%;
    height: 20px;
    background-color: #ecf0f1;
    border-radius: 10px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
    transition: width 0.3s ease;
}

.progress-text {
    text-align: center;
    margin-top: 8px;
    color: #7f8c8d;
    font-size: 14px;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .container {
        margin: 10px;
        border-radius: 6px;
    }
    
    .data-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .conclusion-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .query-controls {
        flex-direction: column;
        align-items: stretch;
    }
    
    .query-controls select,
    .query-controls input {
        min-width: auto;
    }
    
    .nav-menu {
        flex-wrap: wrap;
        gap: 10px;
    }
    
    .nav-menu li {
        padding: 6px 12px;
        font-size: 14px;
    }
}

/* 表单组样式 */
.form-group {
    margin-bottom: 20px;
    padding: 15px;
    background: #fafafa;
    border: 1px solid #e8e8e8;
    border-radius: 6px;
}

.form-group h3 {
    color: #2c3e50;
    font-size: 16px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #e8e8e8;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: #555;
    margin-bottom: 8px;
}

.form-group input,
.form-group select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #dce1e5;
    border-radius: 4px;
    font-size: 14px;
}

.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: #3498db;
    box-shadow: 0 0 0 2px rgba(52, 152, 219, 0.2);
}

/* 导航按钮 */
.navigation-buttons {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 20px;
    padding: 20px 30px;
    border-top: 1px solid #e8e8e8;
    background: #f8f9fa;
}